package com.blue.example;

import javafx.concurrent.Service;
import javafx.concurrent.Task;

/**
 * Created by Administrator on 2019/8/8.
 */
public class ProgressService {
    public void loaddingProcess(){
        Service<String> service = new Service<String>() {
            @Override
            protected Task<String> createTask() {
                return new Task<String>() {
                    @Override
                    protected String call() throws Exception {
                        return null;
                    }
                };
            }
        };
    }
}
